﻿using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SingleUserMall.Authorization.Users.User;

namespace SingleUserMall.Users.Form
{
    /// <summary>
    /// 微信用户信息
    /// </summary>
    public class WechatInfo
    {
        internal object gender;

        /// <summary>
        /// openId
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 性别（0-未知，1-男，2-女）
        /// </summary>
        public Gender Gender { get; set; }
        /// <summary>
        /// 源用户id
        /// </summary>
        public long? SourceUserId { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 是否关注
        /// </summary>
        public Subscribe? Subscribes { get; set; }

    }
}
